package com.blb.dao.user;

import com.blb.pojo.Carousel;
import com.blb.pojo.Product;
import com.blb.pojo.ProductType;
import com.blb.pojo.User;

import java.sql.SQLException;
import java.util.List;

public interface IndexDao {

    List<Product> selectNewProduct() throws Exception;

    List<ProductType> selectProductType() throws Exception;

    List<ProductType> getProductTypeByName(String name, String size) throws Exception;

    void insertOrderData(int id, int productId, int num) throws SQLException, ClassNotFoundException;

    List<Product> selectProduct() throws Exception;
}
